package com.caoaman.sharding.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @ClassName: User
 * @Description: 用户信息
 * @Author: CaoAMan
 * @Create: 2021-12-08 17:17
 */
@Data
@Accessors(chain = true)
@TableName("user")
public class User {

    /**
     * 主键Id
     */
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 年龄
     */
    private int age;
}